﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 用科室实体类
    /// </summary>
    public class DepartmentModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string? Department { get; set; }
        /// <summary>
        /// 科室照片
        /// </summary>
        public string? photo { get; set; }
        /// <summary>
        /// 成立日期
        /// </summary>
        public DateTime Establish { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>

        public DateTime? Createdtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Updatedtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; } = false;


    }
}
